package com.wf.web.base.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
public class BaseDomain implements Serializable {

    private static final long serialVersionUID = -3869078872421129404L;
    /**
     * 创建人
     * */

    @TableField(value = "create_user", fill = FieldFill.INSERT)

    private String createUser;

    /**
     * 创建时间
     * */

    @TableField(value = "create_time", fill = FieldFill.INSERT)

    private LocalDateTime createTime;

    /**
     * 修改人
     * */

    @TableField(value = "update_user", fill = FieldFill.INSERT_UPDATE)

    private String updateUser;

    /**
     * 修改时间
     * */

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)

    private LocalDateTime updateTime;

    /**
     * 删除
     * */
    @TableLogic
    @TableField(value = "is_deleted", fill = FieldFill.INSERT)
    private boolean isDeleted;



}
